package com.jdk.juc;

import org.springframework.web.client.AsyncRestTemplate;

import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.locks.ReentrantLock;

public class SyncTest {

    public static void main(String[] args) {


        aaa();
    }

    public static synchronized  void  aaa(){
        System.out.println(123);
//        aaa();
    }




}
